package br.ufpe.cin.msc.jrsj2.recommender.metadata;

public abstract class MetadataFormatFactory {

	private static final int TVANYTIME = 1;
	private static final int MPEG7 = 2;
	private static final int FACTORY = TVANYTIME;
	private static MetadataFormat instance = null;

	private MetadataFormatFactory() {
	}

	public static MetadataFormat getInstance() {
		if (instance == null) {
			switch (FACTORY) {
			case TVANYTIME:
				instance = new TVAnytimeMetadata();
				break;
			case MPEG7:
				// instance = new MPEG7Metadata();
				instance = null;
				break;
			default:
				instance = null;
			}
		}
		return instance;
	}
}
